/* 顶部导航修复 */
.site-topbar {
    background: #333;
    height: 40px;
    width: 100%;
    min-width: 1226px;
    font-size: 12px;
    border-bottom: 1px solid #424242;
}

.site-topbar .container {
    position: relative;
    height: 40px;
    background: #333;
}

.topbar-nav {
    display: flex;
    align-items: center;
    height: 40px;
    margin: 0;
    padding: 0;
    float: left;
}

.topbar-nav a,
.topbar-nav span {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    color: #b0b0b0;
    font-size: 12px;
}

.topbar-nav span {
    margin: 0 3px;
    color: #424242;
}

.topbar-nav a {
    padding: 0 5px;
    text-decoration: none;
}

.topbar-nav a:hover {
    color: #fff;
}

/* 购物车和用户信息 */
.site-shop,
.topbar-info {
    float: right;
    height: 40px;
    line-height: 40px;
}

.site-shop a,
.topbar-info a {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    color: #b0b0b0;
    font-size: 12px;
    padding: 0 5px;
    text-decoration: none;
}

.site-shop a:hover,
.topbar-info a:hover {
    color: #fff;
}

/* 下载app二维码 */
.topbar-download {
    position: relative;
}

.appcode {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 0;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    text-align: center;
    color: #333;
    line-height: 1.4;
    padding: 0;
    overflow: hidden;
    transition: all .3s;
    z-index: 50;
}

.topbar-download:hover .appcode {
    height: 148px;
    padding: 18px 0;
}
